package com.zjy.springbootinit;


import ch.qos.logback.core.net.SyslogOutputStream;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello(){
        System.out.println("王五，我是第一个SpringBoot项目！");
        return "我是王五，我是第一个SpringBoot项目！";
    }
}
